package io.renren.modules.sale.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sale.entiy.XYContent;
import io.renren.modules.sale.entiy.XYQuestion;
import io.renren.modules.sale.entiy.XYUser;

public interface IXYQA {

    boolean isUserExists(XYUser xyUser);

    boolean isQuestionExists(XYQuestion xyQuestion);

    boolean isQuestionAnswered(XYContent xyContent);

    int insertQuestion(XYQuestion xyQuestion);

    int insertContent(XYContent xyContent);

    int updateContent(XYContent xyContent);

    int insertUser(XYUser xyUser);
}
